import Request from '../../utils/request';

// 获取商品详情
// export const getProductInfo = params => Request({
//   url: '/product',
//   method: 'GET',
//   data: params,
// });

export const getProductInfo = () => {
    return new Promise((resolve, reject) => {
        resolve({
            status: 'ok',
            data: {
                images: [
                    'https://img.yzcdn.cn/upload_files/2017/04/28/FtDv1oErOAVNW7TVdNNTi-DW4D0O.jpg?imageView2%2F2%2Fw%2F750%2Fh%2F0%2Fq%2F75%2Fformat%2Fwebp',
                    'https://img.yzcdn.cn/upload_files/2017/04/28/FuOAUGbz86qismwg3It_rSwywxWx.jpg?imageView2%2F2%2Fw%2F750%2Fh%2F0%2Fq%2F75%2Fformat%2Fwebp',
                    'https://img.yzcdn.cn/upload_files/2017/04/28/FnDICjWBAmRp69hw3pE-hu7DiLmF.jpg?imageView2%2F2%2Fw%2F750%2Fh%2F0%2Fq%2F75%2Fformat%2Fwebp'
                ]
            }
        })
    })
}